const routes = [
  {
    path: '/',
    redirect: '/home',
  },
  { path: '/home', component: () => import('@/views/home') },
  {
    name: 'CrowdFunding',
    path: '/crowdfunding',
    component: () => import('@/views/CrowdFunding/index.vue'),
  },
  {
    path: '/selectDetail',
    name: 'selectDetail',
    component: () => import('@/views/selectDetail'),
  },
  {
    path: '/list',
    name: 'list',
    component: () => import('@/views/List'),
  },
  {
    path: '/card',
    name: 'Card',
    component: () => import('@/views/Card'),
  },
  {
    path: "/login",
    name: "login",
    component: () => import("@/views/Login"),
  },
  {
    path:"/detail",
    name:"Detail",
    component:()=>import("@/views/detail")
  },
  {
    path: '/search',
    name: 'Search',
    component: () => import('@/views/Search/index.vue'),
  }
];

 
export default routes
